<script setup>
import { counterStore } from '/src/store/couterStore.js'
const counter=counterStore();
</script>

<template>
    <div>
        <h3>组件1</h3>
        <p>count:{{counter.count}}</p>
    </div>
</template>